home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-06-01 | 1.9 KB | [ ftFC/NLft]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
You can browse this item here: ChiSquared
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
100%
file
MacBinary II, Sat Jun 1 12:25:53 1996, modified Sat Jun 1 12:25:53 1996, creator 'NLft', type 'ftFC', 837 bytes "ChiSquared" , at 0x3c5 815 bytes resource
default (weak)
99%
file
data
default
100%
TrID
MacBinary 2
default (weak)
100%
lsar
MacBinary
default
id metadata key value macFileType [ ftFC] macFileCreator [ NLft]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 0a 43 68 69 53 71 75 | 61 72 65 64 00 00 00 00 |..ChiSqu|ared....| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 66 74 46 43 4e 4c 66 | 74 00 00 00 00 00 00 00 |.ftFCNLf|t.......| |00000050| 00 00 00 00 00 03 45 00 | 00 03 2f ad d6 1f 91 ad |......E.|../.....| |00000060| d6 1f 91 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 66 f5 00 00 |........|....f...| |00000080| 7b 0d 20 20 63 61 6c 63 | 75 6c 61 74 65 73 20 74 |{. calc|ulates t| |00000090| 68 65 20 73 75 6d 20 6f | 66 20 74 68 65 20 64 69 |he sum o|f the di| |000000a0| 66 66 65 72 65 6e 63 65 | 73 20 73 71 75 61 72 65 |fference|s square| |000000b0| 64 20 6f 66 20 74 77 6f | 20 63 6f 6c 75 6d 6e 73 |d of two| columns| |000000c0| 20 69 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | in the |current | |000000d0| 64 61 74 61 20 77 69 6e | 64 6f 77 0d 20 20 0d 20 |data win|dow. . | |000000e0| 20 54 6f 20 75 73 65 20 | 74 68 69 73 20 70 72 6f | To use |this pro| |000000f0| 67 72 61 6d 2c 20 68 69 | 74 20 63 6d 64 2d 4c 20 |gram, hi|t cmd-L | |00000100| 28 6f 72 20 63 6c 69 63 | 6b 20 74 68 65 20 41 64 |(or clic|k the Ad| |00000110| 64 20 62 75 74 74 6f 6e | 29 20 61 6e 64 20 63 68 |d button|) and ch| |00000120| 6f 6f 73 65 0d 20 20 69 | 74 73 20 6e 61 6d 65 20 |oose. i|ts name | |00000130| 66 72 6f 6d 20 74 68 65 | 20 4d 69 73 63 20 6d 65 |from the| Misc me| |00000140| 6e 75 2e 0d 7d 20 0d 0d | 0d 70 72 6f 67 72 61 6d |nu..} ..|.program| |00000150| 20 43 68 69 5f 73 71 75 | 61 72 65 64 3b 0d 0d 76 | Chi_squ|ared;..v| |00000160| 61 72 20 69 2c 20 63 6f | 75 6e 74 3a 69 6e 74 65 |ar i, co|unt:inte| |00000170| 67 65 72 3b 0d 09 09 09 | 6e 75 6d 3a 65 78 74 65 |ger;....|num:exte| |00000180| 6e 64 65 64 3b 0d 09 09 | 09 79 31 63 2c 79 32 63 |nded;...|.y1c,y2c| |00000190| 3a 69 6e 74 65 67 65 72 | 3b 0d 09 09 09 6e 6f 72 |:integer|;....nor| |000001a0| 6d 3a 62 6f 6f 6c 65 61 | 6e 3b 0d 09 09 09 0d 70 |m:boolea|n;.....p| |000001b0| 72 6f 63 65 64 75 72 65 | 20 69 6e 69 74 69 61 6c |rocedure| initial| |000001c0| 69 7a 65 3b 0d 62 65 67 | 69 6e 0d 09 79 31 63 3a |ize;.beg|in..y1c:| |000001d0| 3d 32 3b 79 32 63 3a 3d | 33 3b 6e 6f 72 6d 3a 3d |=2;y2c:=|3;norm:=| |000001e0| 30 3b 0d 65 6e 64 3b 0d | 0d 62 65 67 69 6e 0d 69 |0;.end;.|.begin.i| |000001f0| 6e 70 75 74 28 27 24 43 | 79 31 20 43 6f 6c 75 6d |nput('$C|y1 Colum| |00000200| 6e 27 2c 79 31 63 2c 27 | 24 43 79 32 20 43 6f 6c |n',y1c,'|$Cy2 Col| |00000210| 75 6d 6e 27 2c 79 32 63 | 2c 27 24 58 6e 6f 72 6d |umn',y2c|,'$Xnorm| |00000220| 61 6c 69 7a 65 64 27 2c | 6e 6f 72 6d 29 3b 0d 69 |alized',|norm);.i| |00000230| 66 20 43 6f 6c 45 6d 70 | 74 79 28 79 31 63 29 20 |f ColEmp|ty(y1c) | |00000240| 6f 72 20 43 6f 6c 45 6d | 70 74 79 28 79 32 63 29 |or ColEm|pty(y2c)| |00000250| 20 74 68 65 6e 0d 62 65 | 67 69 6e 0d 09 62 65 65 | then.be|gin..bee| |00000260| 70 3b 0d 09 68 61 6c 74 | 3b 0d 65 6e 64 3b 0d 6e |p;..halt|;.end;.n| |00000270| 75 6d 3a 3d 30 3b 0d 66 | 6f 72 20 69 3a 3d 31 20 |um:=0;.f|or i:=1 | |00000280| 74 6f 20 4e 72 52 6f 77 | 73 20 64 6f 0d 09 62 65 |to NrRow|s do..be| |00000290| 67 69 6e 0d 09 09 69 66 | 20 64 61 74 61 6f 6b 28 |gin...if| dataok(| |000002a0| 69 2c 79 31 63 29 20 61 | 6e 64 20 64 61 74 61 6f |i,y1c) a|nd datao| |000002b0| 6b 28 69 2c 79 32 63 29 | 20 74 68 65 6e 0d 09 09 |k(i,y2c)| then...| |000002c0| 62 65 67 69 6e 0d 09 09 | 09 09 6e 75 6d 3a 3d 6e |begin...|..num:=n| |000002d0| 75 6d 2b 73 71 72 28 64 | 61 74 61 5b 69 2c 79 31 |um+sqr(d|ata[i,y1| |000002e0| 63 5d 20 2d 20 64 61 74 | 61 5b 69 2c 79 32 63 5d |c] - dat|a[i,y2c]| |000002f0| 29 3b 0d 09 09 09 09 69 | 66 20 6e 6f 72 6d 20 74 |);.....i|f norm t| |00000300| 68 65 6e 20 63 6f 75 6e | 74 3a 3d 63 6f 75 6e 74 |hen coun|t:=count| |00000310| 2b 31 3b 0d 09 09 65 6e | 64 3b 0d 09 65 6e 64 3b |+1;...en|d;..end;| |00000320| 0d 20 20 69 66 20 6e 6f | 72 6d 20 74 68 65 6e 20 |. if no|rm then | |00000330| 0d 20 20 62 65 67 69 6e | 20 0d 20 20 20 20 77 72 |. begin| . wr| |00000340| 69 74 65 6c 6e 28 27 23 | 70 6f 69 6e 74 73 20 3d |iteln('#|points =| |00000350| 20 27 2c 63 6f 75 6e 74 | 29 3b 20 77 72 69 74 65 | ',count|); write| |00000360| 6c 6e 28 27 43 68 69 2d | 73 71 75 61 72 65 64 20 |ln('Chi-|squared | |00000370| 64 69 76 69 64 65 64 20 | 62 79 20 23 70 6f 69 6e |divided |by #poin| |00000380| 74 73 20 3d 20 27 2c 6e | 75 6d 2f 63 6f 75 6e 74 |ts = ',n|um/count| |00000390| 29 20 0d 20 20 65 6e 64 | 0d 20 20 20 65 6c 73 65 |) . end|. else| |000003a0| 20 20 77 72 69 74 65 6c | 6e 28 27 43 68 69 2d 73 | writel|n('Chi-s| |000003b0| 71 75 61 72 65 64 20 3d | 20 27 2c 6e 75 6d 29 0d |quared =| ',num).| |000003c0| 65 6e 64 3b 0d 00 00 00 | 00 00 00 00 00 00 00 00 |end;....|........| |000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000400| 00 00 01 00 00 00 02 b9 | 00 00 01 b9 00 00 00 76 |........|.......v| |00000410| 53 79 73 74 65 6d 20 46 | 6f 6c 64 65 72 3a 45 78 |System F|older:Ex| |00000420| 74 65 6e 73 69 6f 6e 73 | 3a 50 72 69 6e 74 65 72 |tensions|:Printer| |00000430| 0a 43 68 69 53 71 75 61 | 72 65 64 00 02 00 00 00 |.ChiSqua|red.....| |00000440| 50 61 72 74 53 49 54 21 | 00 00 00 00 00 00 00 00 |PartSIT!|........| |00000450| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......| |00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000470| 00 00 ae 78 05 bf 00 00 | 00 00 00 00 03 2f 00 00 |...x....|...../..| |00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000500| 00 00 00 08 00 3c 00 05 | 01 cd 02 60 00 00 01 06 |.....<..|...`....| |00000510| 00 03 00 0a 00 00 06 47 | 65 6e 65 76 61 2a 40 82 |.......G|eneva*@.| |00000520| c6 08 00 00 00 e6 b0 b6 | 00 d4 33 80 00 d4 33 7c |........|..3...3|| |00000530| 00 d4 e9 86 00 08 00 e6 | a9 24 40 82 c5 02 00 00 |........|.$@.....| |00000540| 00 e6 b0 b6 00 d4 33 80 | 00 d4 33 7c 00 d4 e9 6c |......3.|..3|...l| |00000550| 00 08 00 e6 a5 f0 00 e6 | a5 f8 00 e6 a6 00 00 d4 |........|........| |00000560| e9 4e 00 00 00 00 00 d4 | e9 4e 00 e6 a9 80 40 82 |.N......|.N....@.| |00000570| c1 d2 00 d4 e9 6c 00 08 | 00 e6 aa ac 40 82 c3 90 |.....l..|....@...| |00000580| 00 e6 a9 64 00 00 00 00 | 00 00 00 00 00 48 00 ff |...d....|.....H..| |00000590| 00 00 00 08 00 01 00 08 | 00 d7 7d 0f ff 00 00 81 |........|..}.....| |000005a0| 00 08 00 00 ff ff ff ff | 00 00 00 00 00 00 00 e6 |........|........| |000005b0| aa ac 40 82 c1 90 00 e6 | a9 92 40 82 00 00 00 00 |..@.....|..@.....| |000005c0| 00 d4 2e 8e 00 e6 aa b4 | 40 83 19 82 00 ab 01 f4 |........|@.......| |000005d0| 00 00 00 00 00 d4 33 7c | 00 c8 c3 6c 00 c8 c3 6c |......3||...l...l| |000005e0| 00 e6 a9 ac 00 e6 aa ac | 00 01 00 00 00 81 ff ff |........|........| |000005f0| 00 08 00 00 00 00 00 12 | 00 29 ff fd 00 0c ff 64 |........|.).....d| |00000600| 72 00 00 00 ff 00 00 03 | 00 01 40 ff 00 00 00 00 |r.......|..@.....| |00000610| 00 06 00 0b 80 00 00 00 | 00 10 00 00 00 00 00 00 |........|........| |00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 04 00 00 |........|........| |00000630| 00 01 00 00 00 78 00 03 | 00 00 00 48 00 48 00 00 |.....x..|...H.H..| |00000640| 00 00 03 00 02 4c ff f4 | ff f4 03 0c 02 58 03 47 |.....L..|.....X.G| |00000650| 05 28 03 fc 00 02 00 00 | 00 48 00 48 00 00 00 00 |.(......|.H.H....| |00000660| 02 da 02 28 00 01 00 00 | 00 64 00 00 00 01 00 01 |...(....|.d......| |00000670| 01 01 00 00 00 01 27 0f | 00 01 00 01 00 00 00 00 |......'.|........| |00000680| 00 00 00 00 00 00 00 00 | 00 02 00 19 01 90 00 00 |........|........| |00000690| 00 00 00 40 00 00 00 00 | 00 00 00 00 00 01 00 00 |...@....|........| |000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000006b0| 00 07 06 70 72 6f 46 69 | 74 00 00 01 00 00 00 02 |...proFi|t.......| |000006c0| b9 00 00 01 b9 00 00 00 | 76 00 d4 3a 0c 10 88 00 |........|v..:....| |000006d0| 00 00 1c 00 76 00 01 66 | 49 4e 46 00 04 00 12 53 |....v..f|INF....S| |000006e0| 54 52 20 00 00 00 4e 00 | 81 ff ff 00 00 00 00 00 |TR ...N.|........| |000006f0| d4 2c f0 00 82 ff ff 00 | 00 00 0c 00 d4 2f f0 00 |.,......|...../..| |00000700| 83 ff ff 00 00 01 16 00 | d4 31 a8 00 85 ff ff 00 |........|.1......| |00000710| 00 01 2a 00 d4 2c e8 00 | 84 ff ff 00 00 01 32 00 |..*..,..|......2.| |00000720| d4 2f d8 bf f4 ff ff 00 | 00 01 ae 00 d4 2d 70 00 |./......|.....-p.| |00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+